<template>
    <div>
        todo 璐姐 这页面有报错不会写了
        <el-upload action="/your-upload-action" :on-success="handleSuccess" :before-upload="beforeUpload">
            <el-button size="small" type="primary">点击上传</el-button>
        </el-upload>
    </div>
</template>

<script>
export default {
    methods: {
        handleSuccess(response, file) {
            // 上传成功后的处理逻辑
            console.log(response);
        },
        beforeUpload(file) {
            // 在上传之前的处理逻辑
            console.log(file);
        },
    },
};
</script>
